//*****************************************************************************
//
// ABEC3 Solving Script
// Project: IB-Dome-3D
//
//*****************************************************************************

// Simple circular dome-diaphragm in infinite baffle in 3D-mode.

// Note, that with the circular elements below the structure could be
// also modelled with Dim=CircSym. Dim=3D with Sym=xy is similar to
// circular symmetry but allows for non circular elements, such as 
// cubes, etc.


Control_Solver
  f1=500;  f2=20000;  NumFrequencies=30;  Abscissa=log;  // Frequency abscissa solving
  MeshFrequency=20000Hz                            // Auto-mesher
  Dim=3D                                           // 3D modelling (default)
  Sym=xy                                           // Symmetry in x and y


Nodes "N"
  1001  0   0    0             // Center of piston (P1)
  1002  1   0    0             // Direction point triangle (P2)
  1003  0   1    0             // Direction point triangle (P3)
  
  2001  0  0  50mm 
  2002  1  0  50mm 
  2003  0  1  50mm 


Subdomain_Properties 
  Subdomain=1                   
  ElType=Exterior              // External radiation
  IBPlane=z                    // Infinite baffle with normal pointing into x-direction.
  

Diaphragm  "Disk front"
  Subdomain=1
  DrvGroup=1001                // Driving group link to observation stage.
  RefNodes="N"                 // Where to get vertices from.
  Position=1001,1002,1003      // Triangle giving position and direction.
  NoBaffle=true                // No surrounding square because we are in an infinit baffle already. 
  NumRings=3                   // Accuracy of mesh
  dD=2in                       // Diameter of dome.
  hD1=0.5in                    // Hight of dome


// Optionally you may want to analyse scattering at a sphere in front of the diaphragm.
// In order to enable the sphere remove "Off"

Shell "Obstacle"
  Subdomain=1
  RefNodes="N"                 // Where to get vertices from.
  Position=2001,2002,2003      // Triangle giving position and direction.
  Shelltype=Sphere             // Shape is a sphere
  NumRings=4                   // Accuracy of mesh
  dD=1in                       // Diameter of sphere

